package com.hernie.piggymall.seckill.service;

import com.hernie.piggymall.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @Author HuangJp
 * @Date 2022/6/6
 * @Description
 */
public interface SeckillService {
    void uploadSeckillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
